#ifndef KEYCOMMAND_H
#define KEYCOMMAND_H

#include "CommandType.h"

class Command
{
public:

	Command( CommandType type, int key );
	Command( const Command& orig );

	const int& GetKey() const;
	const CommandType& GetType() const;

private:
	int m_key;
	CommandType m_type;
};

inline bool operator == ( const Command& a, const Command& b ) {
	return a.GetType() == b.GetType() && a.GetKey() == b.GetKey();
}

#endif
